<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8">
    <title>杭师大实践管理平台企业端</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../static/common/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="../../static/css/global.css" media="all">
    <link rel="stylesheet" href="../../static/common/font-awesome/css/font-awesome.min.css">
</head>

<body>
<div class="layui-layout layui-layout-admin" style="border-bottom: solid 5px #1aa094;">
    <%--header Begin--%>
    <div class="layui-header header header-demo">
        <div class="layui-main">
            <div class="admin-login-box">
                <a class="logo" style="left: 0;" href="http://beginner.zhengjinfan.cn/demo/beginner_admin/">
                    <span style="font-size: 22px;">DigitU</span>
                </a>
                <div class="admin-side-toggle">
                    <i class="fa fa-bars"></i>
                </div>
                <div class="admin-side-full">
                    <i class="fa fa-life-bouy"></i>
                </div>
            </div>
            <ul class="layui-nav admin-header-item">
                <li class="layui-nav-item">
                    <a class="admin-header-user">
                        <div id="name"></div>
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a href="/logout" class="admin-header-user">
                        <span>注销</span>
                    </a>
                </li>
            </ul>
        </div>

        <ul class="layui-nav admin-header-item-mobile">
            <li class="layui-nav-item">
                <a href="logout"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
            </li>
        </ul>
    </div>
    <%--header End--%>
    <%--side Begin--%>
    <div class="layui-side layui-bg-black" id="admin-side">
        <div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side"></div>
    </div>
    <%--side End--%>

    <%--body Begin--%>
    <div class="layui-body" style="bottom: 0;border-left: solid 2px #1AA094;" id="admin-body">
        <div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
            <ul class="layui-tab-title">
                <li class="layui-this">
                    <i class="fa fa-dashboard" aria-hidden="true"></i>
                    <cite>控制面板</cite>
                </li>
            </ul>
            <div class="layui-tab-content" style="min-height: 150px; padding: 5px 0 0 0;">
                <div class="layui-tab-item layui-show">
                    <iframe src="/enterprise/welcome"></iframe>
                </div>
            </div>
        </div>
    </div>
    <%--body End--%>

    <%--footer Begin--%>
    <div class="layui-footer footer footer-demo" id="admin-footer">
        <div class="layui-main">
            <p>2017 &copy;
                DigitU
            </p>
        </div>
    </div>
    <%--footer End--%>
    <div class="site-tree-mobile layui-hide">
        <i class="layui-icon">&#xe602;</i>
    </div>
    <div class="site-mobile-shade"></div>
</div>

<script>
    var userId =${sessionScope.currentUser.getId()};
</script>
<script src="../../static/common/axios.min.js"></script>
<script src="../../static/js/utils.js"></script>
<script src="../../static/common/layui/layui.js"></script>
<script src="../../static/common/jquery-3.2.1.js"></script>
<script src="../../static/datas/enterprise/nav.js"></script>
<script>
    var divshow = $("#name");
    getTips(userId, divshow);
</script>
<script src="../../static/js/enterprise/index.js"></script>
</body>

</html>